package cn.com.taurus.entity;

import lombok.*;

/**
 * @remark 基金持有
 * @author zhy
 * @createtime 2021-6-25 10:25:21
 * @version 1.0
 */

public class FundHold {
    private Integer fhId;
    private String fId;
    private Integer caId;
    private Double shares;
    private String startTime;
    private Double startDwjz;
    private String dataUpdateTime;

    public FundHold() {
    }

    public FundHold(String fId, Integer caId, Double shares, String startTime, Double startDwjz, String dataUpdateTime) {
        this.fId = fId;
        this.caId = caId;
        this.shares = shares;
        this.startTime = startTime;
        this.startDwjz = startDwjz;
        this.dataUpdateTime = dataUpdateTime;
    }

    public FundHold( Double shares,Integer fhId) {
        this.fhId = fhId;
        this.shares = shares;
    }

    public FundHold(Integer fhId, String fId, Integer caId, Double shares, String startTime, Double startDwjz, String dataUpdateTime) {
        this.fhId = fhId;
        this.fId = fId;
        this.caId = caId;
        this.shares = shares;
        this.startTime = startTime;
        this.startDwjz = startDwjz;
        this.dataUpdateTime = dataUpdateTime;
    }

    @Override
    public String toString() {
        return "FundHold{" +
                "fhId=" + fhId +
                ", fId='" + fId + '\'' +
                ", caId=" + caId +
                ", shares=" + shares +
                ", startTime='" + startTime + '\'' +
                ", startDwjz=" + startDwjz +
                ", dataUpdateTime='" + dataUpdateTime + '\'' +
                '}';
    }

    public Integer getFhId() {
        return fhId;
    }

    public void setFhId(Integer fhId) {
        this.fhId = fhId;
    }

    public String getfId() {
        return fId;
    }

    public void setfId(String fId) {
        this.fId = fId;
    }

    public Integer getCaId() {
        return caId;
    }

    public void setCaId(Integer caId) {
        this.caId = caId;
    }

    public Double getShares() {
        return shares;
    }

    public void setShares(Double shares) {
        this.shares = shares;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public Double getStartDwjz() {
        return startDwjz;
    }

    public void setStartDwjz(Double startDwjz) {
        this.startDwjz = startDwjz;
    }

    public String getDataUpdateTime() {
        return dataUpdateTime;
    }

    public void setDataUpdateTime(String dataUpdateTime) {
        this.dataUpdateTime = dataUpdateTime;
    }
}
